package com.itboye.mengwu.app.logincontroller;

import android.app.Activity;
import android.content.Intent;

import com.itboye.mengwu.app.login.ui.LoginActivity;
import com.itboye.mengwu.main.WoMengFragment;

/**
 * 
 * @author 未登录情况下执行该方法
 * 
 */
public class UnLoginState implements ILoginState {

	// 所有未登录的统一执行Login操作
	private void doUnLogin(Activity act) {
		Intent intent = new Intent(act, LoginActivity.class);

		act.startActivity(intent);
	}

	@Override
	public void test(Activity activity, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(activity);
	}

	@Override
	public void goToMyMessage(Activity activity, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(activity);
	}

	/**
	 * 换购商城
	 */
	@Override
	public void getHuan(Activity activity, String obj, String obj2) {
		// TODO Auto-generated method stub
		doUnLogin(activity);
	}

	@Override
	public void getMyTieZi(Activity activity, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(activity);
	}

	@Override
	public void getMyOrder(Activity activity, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(activity);
	}

	@Override
	public void getPingjia(Activity activity, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(activity);

	}

	@Override
	public void getShouHuo(Activity activity, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(activity);
	}

	@Override
	public void getFukuan(Activity activity, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(activity);
	}

	@Override
	public void getAddress(Activity activity, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(activity);
	}

	@Override
	public void getSmol(Activity activity, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(activity);
	}

	@Override
	public void getRed(Activity activity, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(activity);
	}

	@Override
	public void getMengBi(Activity activity, String obj, String obj2) {
		// TODO Auto-generated method stub
		doUnLogin(activity);
	}

	@Override
	public void collection(Activity activity, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(activity);
	}

	@Override
	public void queryMyCollection(Activity activity, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(activity);
	}

	@Override
	public void queryShopCart(Activity act, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(act);
	}

	@Override
	public void QuanMessgeDate(Activity act, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(act);
	}

	@Override
	public void gerenKongJian(Activity act, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(act);
	}

	@Override
	public void guanzhu(Activity act, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(act);
	}

	@Override
	public void woDeDongTai(Activity act, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(act);
	}

	@Override
	public void onlickShouCang(Activity activity, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(activity);
	}

	@Override
	public void MePingjia(Activity act, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(act);
	}

	@Override
	public void getDaiJinQuan(Activity activity, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(activity);
	}

	@Override
	public void onButton(Activity act, Object obj) {
		// TODO Auto-generated method stub
		doUnLogin(act);
	}

	@Override
	public void mengTime(Activity act, Object data) {
		// TODO Auto-generated method stub
		doUnLogin(act);
	}

	@Override
	public void InvitationPrize(Activity activity, String obj, String obj2) {
		// TODO Auto-generated method stub
		doUnLogin(activity);
	}

	@Override
	public void Help(Activity act, String data, String data2) {
		// TODO Auto-generated method stub
		doUnLogin(act);
	}

	@Override
	public void vip(Activity act, String data, String data2) {
		// TODO Auto-generated method stub
		doUnLogin(act);
	}

	@Override
	public void MyAllOrder(Activity act, Object data) {
		// TODO Auto-generated method stub
		doUnLogin(act);
	}

	// @Override
	// public void guanzhuOther(Activity act, Object obj) {
	// // TODO Auto-generated method stub
	// doUnLogin(act);
	// }

}
